package com.changcheng.project.obuupgradelogs.domain;

import com.changcheng.framework.aspectj.lang.annotation.Excel;
import com.changcheng.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * OBU升级记录对象 a_obu_upgradelogs
 * 
 * @author dazhi
 * @date 2020-11-09
 */
public class AObuUpgradelogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 记录id */
    @Excel(name = "记录id")
    private String recordId;

    /** 操作员 */
    @Excel(name = "操作员")
    private String operName;

    /** 操作时间 */
    @Excel(name = "操作时间")
    private String operTime;

    /** 服务站号 */
    @Excel(name = "服务站号")
    private String stationCode;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String stationName;

    /** 手持机编号 */
    @Excel(name = "手持机编号")
    private String deviceId;

    /** obu厂家(0-金溢，1-聚利) */
    @Excel(name = "obu厂家(0-金溢，1-聚利)")
    private String obuVendor;

    /** OBU-MAC */
    @Excel(name = "OBU-MAC")
    private String obuMac;

    /** 预升级版本 */
    @Excel(name = "预升级版本")
    private String preUpgradeVersion;

    /** 当前版本 */
    @Excel(name = "当前版本")
    private String currentVersion;

    /** OBU-合同序列号（SN） */
    @Excel(name = "OBU-合同序列号", readConverterExp = "S=N")
    private String obuSn;

    /** OBU-卡号 */
    @Excel(name = "OBU-卡号")
    private String icNumber;

    /** App版本 */
    @Excel(name = "App版本")
    private String appVersion;

    /** 升级状态 */
    @Excel(name = "升级状态")
    private String upgradeStatus;

    /** 升级时间 */
    @Excel(name = "升级时间")
    private String upgradeTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRecordId(String recordId)
    {
        this.recordId = recordId;
    }

    public String getRecordId()
    {
        return recordId;
    }
    public void setOperName(String operName)
    {
        this.operName = operName;
    }

    public String getOperName()
    {
        return operName;
    }
    public void setOperTime(String operTime)
    {
        this.operTime = operTime;
    }

    public String getOperTime()
    {
        return operTime;
    }
    public void setStationCode(String stationCode)
    {
        this.stationCode = stationCode;
    }

    public String getStationCode()
    {
        return stationCode;
    }
    public void setStationName(String stationName)
    {
        this.stationName = stationName;
    }

    public String getStationName()
    {
        return stationName;
    }
    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId()
    {
        return deviceId;
    }
    public void setObuVendor(String obuVendor)
    {
        this.obuVendor = obuVendor;
    }

    public String getObuVendor()
    {
        return obuVendor;
    }
    public void setObuMac(String obuMac)
    {
        this.obuMac = obuMac;
    }

    public String getObuMac()
    {
        return obuMac;
    }
    public void setPreUpgradeVersion(String preUpgradeVersion)
    {
        this.preUpgradeVersion = preUpgradeVersion;
    }

    public String getPreUpgradeVersion()
    {
        return preUpgradeVersion;
    }
    public void setCurrentVersion(String currentVersion)
    {
        this.currentVersion = currentVersion;
    }

    public String getCurrentVersion()
    {
        return currentVersion;
    }
    public void setObuSn(String obuSn)
    {
        this.obuSn = obuSn;
    }

    public String getObuSn()
    {
        return obuSn;
    }
    public void setIcNumber(String icNumber)
    {
        this.icNumber = icNumber;
    }

    public String getIcNumber()
    {
        return icNumber;
    }
    public void setAppVersion(String appVersion)
    {
        this.appVersion = appVersion;
    }

    public String getAppVersion()
    {
        return appVersion;
    }
    public void setUpgradeStatus(String upgradeStatus)
    {
        this.upgradeStatus = upgradeStatus;
    }

    public String getUpgradeStatus()
    {
        return upgradeStatus;
    }
    public void setUpgradeTime(String upgradeTime)
    {
        this.upgradeTime = upgradeTime;
    }

    public String getUpgradeTime()
    {
        return upgradeTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordId", getRecordId())
            .append("operName", getOperName())
            .append("operTime", getOperTime())
            .append("stationCode", getStationCode())
            .append("stationName", getStationName())
            .append("deviceId", getDeviceId())
            .append("obuVendor", getObuVendor())
            .append("obuMac", getObuMac())
            .append("preUpgradeVersion", getPreUpgradeVersion())
            .append("currentVersion", getCurrentVersion())
            .append("obuSn", getObuSn())
            .append("icNumber", getIcNumber())
            .append("appVersion", getAppVersion())
            .append("upgradeStatus", getUpgradeStatus())
            .append("upgradeTime", getUpgradeTime())
            .toString();
    }
}
